package com.ktgj.train.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单付款明细对象 train_order_paymentdetail
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public class TrainOrderPaymentdetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long detailid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ordernumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bankcardname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bankcardnumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bankcardownername;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal payamount;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long paymethod;

    /** 预留款 */
    @Excel(name = "预留款")
    private BigDecimal setasideamount;

    /** $column.columnComment */
    @Excel(name = "预留款")
    private String memo;

    public void setDetailid(Long detailid) 
    {
        this.detailid = detailid;
    }

    public Long getDetailid() 
    {
        return detailid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setOrdernumber(String ordernumber) 
    {
        this.ordernumber = ordernumber;
    }

    public String getOrdernumber() 
    {
        return ordernumber;
    }
    public void setBankcardname(String bankcardname) 
    {
        this.bankcardname = bankcardname;
    }

    public String getBankcardname() 
    {
        return bankcardname;
    }
    public void setBankcardnumber(String bankcardnumber) 
    {
        this.bankcardnumber = bankcardnumber;
    }

    public String getBankcardnumber() 
    {
        return bankcardnumber;
    }
    public void setBankcardownername(String bankcardownername) 
    {
        this.bankcardownername = bankcardownername;
    }

    public String getBankcardownername() 
    {
        return bankcardownername;
    }
    public void setPayamount(BigDecimal payamount) 
    {
        this.payamount = payamount;
    }

    public BigDecimal getPayamount() 
    {
        return payamount;
    }
    public void setPaymethod(Long paymethod) 
    {
        this.paymethod = paymethod;
    }

    public Long getPaymethod() 
    {
        return paymethod;
    }
    public void setSetasideamount(BigDecimal setasideamount) 
    {
        this.setasideamount = setasideamount;
    }

    public BigDecimal getSetasideamount() 
    {
        return setasideamount;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailid", getDetailid())
            .append("orderid", getOrderid())
            .append("ordernumber", getOrdernumber())
            .append("bankcardname", getBankcardname())
            .append("bankcardnumber", getBankcardnumber())
            .append("bankcardownername", getBankcardownername())
            .append("payamount", getPayamount())
            .append("paymethod", getPaymethod())
            .append("setasideamount", getSetasideamount())
            .append("memo", getMemo())
            .toString();
    }
}
